﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dbPoll_Application.Models.ChangeSecurityQuestionAndAnswerModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Change Security Question and Answer
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <script src="../../Scripts/Account-ChangeSecurityQuestionAndAnswer.js" type="text/javascript"></script>
    <div class="pageHeadingContainer"><h2 class="pageHeading">Change Security Question and Answer</h2></div>
    <div id="contentContainer">
    <p><%= Html.ActionLink("My Account > ", "MyAccount", "Account", null, new { @class = "breadcrumb" })%>Change Security Question and Answer</p>
    <% Html.EnableClientValidation(); %>
    <% using (Ajax.BeginForm("ChangeSecurityQuestionAndAnswer", new AjaxOptions() { UpdateTargetId = "changeSecurityQuestionAndAnswerContainer", OnSuccess = "changeSecurityQuestionAndAnswerComplete", OnBegin = "changeSecurityQuestionAndAnswerStart" }))
       { %>
    <div id="changeSecurityQuestionAndAnswerContainer">
        <% Html.RenderPartial("ChangeSecurityQuestionAndAnswerContainer", Model); %>
    </div>
    <% } %>
    </div>

</asp:Content>
